package org.twndmv.ejb;

import java.util.List;

import javax.ejb.Remote;

import org.twndmv.dto.PersonDTO;
import org.twndmv.dto.VehicleRegistrationDTO;

@Remote
public interface VehicleMgmtRemote {
 
	public void addRegistration(VehicleRegistrationDTO newVehicle);
	
	public List<VehicleRegistrationDTO> getRegistrationsByMakeModel(String make, String model);


	public List<VehicleRegistrationDTO> getRegistrationsByOwner(PersonDTO personId);
	
	public VehicleRegistrationDTO getRegistrationById(long id);
	
	public List<VehicleRegistrationDTO> getAllVehicles();
}
